﻿<UserControl x:Class="KaKaSongGame.ActionTimer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="100" d:DesignWidth="50">
    <UserControl.Resources>
        <Storyboard x:Name="sb1">
            <DoubleAnimation Storyboard.TargetName="rt" Storyboard.TargetProperty="Angle" By="360" Duration="0:0:1" RepeatBehavior="10000" />
        </Storyboard>
        <Storyboard x:Name="actiontimershowsb1">
            <DoubleAnimation To="1" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Opacity" Duration="0:0:1" FillBehavior="HoldEnd"/>
        </Storyboard>
        <Storyboard x:Name="actiontimerhidesb1">
            <DoubleAnimation To="0" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Opacity" Duration="0:0:1" FillBehavior="HoldEnd"/>
        </Storyboard>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Opacity="0">
    	<!--<Border Height="90" Width="40" Margin="5" BorderThickness="1" BorderBrush="Gray" Padding="5" CornerRadius="10" Background="#22000000" RenderTransformOrigin=".5,.5">-->
        <Border Margin="5" RenderTransformOrigin=".5,.5">
            <Border.RenderTransform>
                <RotateTransform x:Name="rt"/>
            </Border.RenderTransform>
        	<Image Source="/KaKaSongGame.Client;component/Images/sandglass_vermin_.png" Stretch="Fill"/>
        </Border>
        <TextBlock Name="tb1" Text="ss" FontSize="24" VerticalAlignment="Center" HorizontalAlignment="Center"/>
    </Grid>
</UserControl>
